package tcpsession

import (
	"usbipproxy/domain"
	"usbipproxy/domain/vo"
)

type TcpSessionMgrRepo interface {
	AddConn(connId int64, cli *domain.DispatchClient)
	AddDispatch(did string, cli *domain.DispatchClient)
	DelByConnId(connId int64)
	GetByConnId(connId int64) (cli *domain.DispatchClient)
	GetByDid(did string) *domain.DispatchClient
	GetAllList() []*vo.DispatchInfo
}
